/***
 * Styles
 */

html, body {
    margin: 0px;
    padding: 0px;
    min-height: 100%;
	background: url('../images/bg.gif');
}

body {
	font-family: verdana, tahoma, arial, helvetica;
	font-size: 62.5%; /* Set 1em = 10px */
}

img {
    border: 0px;
}

div {
    margin: 0px;
    padding: 0px;
    position: relative;
}

h1 {
    font-size: 1.6em;
    color: #6b789c;
    background: transparent;
}

h2 {
    font-size: 1.5em;
    color: #6b789c;
    background: transparent;
}

h3 {
    font-size: 1.4em;
    color: #a5afc7;
    background: transparent;
}

h4 {
    font-size: 1.3em;
    margin-top: 0px;
    color: #a5afc7;
    background: transparent;
}

p {
    font-size: 1.1em;
    line-height: 1.3em;
    padding-top: 0px;
    margin-top: 5px;
}

/*
 * Putting this class definition here since it needs to be before "a", unless we
 * want to change the colour and stuff on links if we decide to add a mouse-over
 * title on them.
 */

.textCaption {
    color: #6b789c;
    background: transparent;
    border-bottom: #6b789c dotted 1px;
}
 
a {
    color: #6b789c;
    background: transparent;
    text-decoration: none;
}

a:hover {
    color: #a5afc7;
    background: transparent;
    text-decoration: none;
}

a:visited {
    color: #934a4a;
    background: transparent;
    text-decoration: none;
}

/***
 * Main Site Layout Elements
 */

#bgTop {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 144px;
    width: 100%;
    background: url('../images/bg-top.gif') top left repeat-x;
}

#wrapper {
    min-width: 782px;
    max-width: 1006px;
    margin: -10px auto 0px auto;
}

    .leftShadow {
        background: url('../images/shadow-left.gif') top left repeat-y;
        width: 100%;
        top: 49px;
    }
    .rightShadow {
        background: url('../images/shadow-right.gif') top right repeat-y;
        width: 100%;
    }
    .topShadow {
        position: absolute;
        background: url('../images/shadow-top.gif') top left repeat-x;
        height: 10px;
        width: 98.5%;
        top: 0px;
    }

    .bottomShadow {
        position: absolute;
        background: url('../images/shadow-bottom.gif') bottom left repeat-x;
        height: 10px;
        width: 100%;
        bottom: 0px;
    }

.clearer {
    float: none;
	clear: both;
	display: block;
	height: 1px;
	margin-top: -1px;
}

/***
 * Header Elements
 */
 
#header {
    height: 85px;
    background: url('../images/header/bg.gif') top left repeat-x;
    margin: 10px;
    top: 10px;
}
    #headerLeftShadow {
        height: 76px;
        top: 20px;
        left: 0px;
        position: absolute;
        width: 10px;
        background: url('../images/header/shadow-left.gif') top left no-repeat;
    }
    #headerRightShadow {
        height: 76px;
        top: 20px;
        right: 0px;
        position: absolute;
        width: 20px;
        background: url('../images/header/shadow-right.gif') top right no-repeat;
    }
    #topLeftCorner {
        height: 20px;
        top: 0px;
        left: 0px;
        position: absolute;
        width: 20px;
        background: url('../images/header/top-left.gif') top left no-repeat;
    }
    #topRightCorner {
        height: 20px;
        top: 0px;
        right: 0px;
        position: absolute;
        width: 20px;
        background: url('../images/header/top-right.gif') top right no-repeat;
    }
    #logo {
        width: 171px;
        height: 76px;
        position: absolute;
        left: 39px;
        top: 6px;
        background: url('../images/logo.gif') top left no-repeat;
    }
    
/* -- Navigation -- */

#navigation {
    position: absolute;
    top: 42px;
    left: 10px;
    font-size: 1.2em;
}
    #navigation ul {
        margin: 0px;
        padding: 0px;
    }
    #navigation li {
        display: inline;
        margin: 2em;
        margin-left: 0px;
    }
    #navigation a {
        padding: 15px;
        color: #eef1f8;
        background: transparent;
        display: block;
        float: left;
        font-weight: normal;
    }
    #navigation a:hover {
        color: #fff;
        background: transparent;
    }
    #navigation .selected .left {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/selected-left.gif') top left no-repeat;
    }
    #navigation .selected a {
        font-weight: bold;
        background: url('../images/navigation/selected-bg.gif') top left repeat-x;
    }
    #navigation .selected .right {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/selected-right.gif') top right no-repeat;
        margin-right: 2em;
    }
    #navigation .item .left {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/left.gif') top left no-repeat;
    }
    #navigation .item a {
        background: url('../images/navigation/bg.gif') top left repeat-x;
    }
    #navigation .item .right {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/right.gif') top right no-repeat;
        margin-right: 2em;
    }
    #navigation .item:hover .left {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/highlighted-left.gif') top left no-repeat;
    }
    #navigation .item:hover a {
        background: url('../images/navigation/highlighted-bg.gif') top left repeat-x;
    }
    #navigation .item:hover .right {
        display: block;
        float: left;
        height: 41px;
        width: 5px;
        background: url('../images/navigation/highlighted-right.gif') top right no-repeat;
        margin-right: 2em;
    }

/***
 * Footer Elements
 */

#footer {
    height: 14px;
    background: url('../images/footer/bg.gif') top left repeat-x;
    padding: 8px;
    margin: 10px;
    margin-top: 0px;
    clear: both;
    text-align: left;
}
    #footer p {
        margin-top: 0px;
        padding-top: 0px;
    }
    #bottomLeftCorner {
        height: 20px;
        bottom: 0px;
        left: 0px;
        position: absolute;
        width: 20px;
        background: url('../images/footer/bottom-left.gif') bottom left no-repeat;
    }
    #bottomRightCorner {
        height: 20px;
        bottom: 0px;
        right: 0px;
        position: absolute;
        width: 20px;
        background: url('../images/footer/bottom-right.gif') bottom right no-repeat;
    }

/***
 * Content Items
 */
 
#content {
    height: 100%; /* IE bugs strike back! (IE7 bug forced this on me) */
    margin: 0px 10px 0px 10px;
    padding: 1em;
    background: #eef1f8 url('../images/content-bg.gif') top left repeat-x;
    border: #a5afc7 solid 2px;
    border-top: none;
    border-bottom: none;
}
    #content .title {
        margin: 0px;
        padding: 0em;
    }
    #content .container {
        float: left;
    }
    
.newsFooter {
    display: block;
    float: left;
    margin-top: 0.5em;
    color: #a5afc7;
    background: transparent;
    font-style: italic;
}
    
/***
 * Right Sidebar Widget Stuff!
 */
 
.rightSidebar {
    width: 190px;
    margin: 10px;
    float: right;
    margin-top: 0px;
}
    .rightSidebar h3 {
        display: block;
        margin-bottom: -3px;
        margin-left: 1em;
        font-weight: normal;
        float: left;
        margin-top: 0px;
        padding-top: 0px;
    }
    .rightSidebar h4 {
        margin-bottom: 0.3em;
    }
    .rightSidebar p {
        padding: 0px;
        margin: 0px;
    }
    .rightSidebar .container {
        border: #a5afc7 solid 1px;
        border-top: none;
        border-bottom: none;
        padding: 10px;
        width: 168px;
        background: #eef1f8;
        float: left;
    }
    .rightSidebar .top {
        width: 190px;
        height: 5px;
        background: url('../images/rightsidebar/border-top.gif') top left no-repeat;
        float: left;
    }

    .rightSidebar .bottom {
        width: 190px;
        height: 5px;
        background: url('../images/rightsidebar/border-bottom.gif') bottom left no-repeat;
        float: left;
    }
    
/***
 * Debug stuff
 */
 
#debug {
    display: block;
    float: right;
}
    #debug img {
        margin: 0.5em;
        margin-top: -0px;
        margin-bottom: -0.5em;
    }

/***
 * Taking the "IE Bug Suite" into account...
 */

* html #content {
    height: 100%;
}